import axios from 'axios';
 // 企业高管信息列表
let list = (params) => axios.get('/executive/goShowAllExecutive',{params});
// 企业高管职位列表
let post = (params) => axios.get('/executive/goShowAllPostType',{params});
// 企业高管教育经历列表
let education = (params) => axios.get('/executive/goShowAllEducationType',{params});
// 性别列表
let sex = (params) => axios.get('/executive/goShowAllSexType',{params});
// 单条企业高管信息记录
let detail = (params) => axios.get('/executive/goShowExecutive',{params});
// 添加企业高管信息
let add = (data) =>axios.post('/executive/addExecutive',data);
// 编辑企业高管信息
let edit = (data) =>axios.post('/executive/editExecutive',data);
// 删除企业高管信息
let remove = (params) => axios.get('/executive/deleteExecutive',{params});
export default {
	list,
	post,
	education,
	sex,
	detail,
	add,
	edit,
	remove,
}